name: 🎯 Bug report
description: Report a bug to help us improve Deckhouse
labels:
- 'type/bug'
- 'status/needs-triage'
body:
  - type: markdown
    attributes:
      value: |
        Thank you for submitting a bug report!

        Please fill out the template below to make it easier to debug your problem.
  - type: checkboxes
    attributes:
      label: Preflight Checklist
      description: Please ensure you've completed all of the following.
      options:
        - label: I agree to follow the [Code of Conduct](https://github.com/deckhouse/deckhouse/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
          required: true
        - label: I have searched the [issue tracker](https://github.com/deckhouse/deckhouse/issues) for an issue that matches the one I want to file, without success.
          required: true
  - type: input
    attributes:
      label: Version
      description: |
        What version of Deckhouse are you running?
      placeholder: v1.0.0
    validations:
      required: true
  - type: textarea
    attributes:
      label: Expected Behavior
      description: A clear and concise description of what you expected to happen.
    validations:
      required: true
  - type: textarea
    attributes:
      label: Actual Behavior
      description: A clear description of what actually happens.
    validations:
      required: true
  - type: textarea
    attributes:
      label: Steps To Reproduce
      description: Steps to reproduce the behavior if it is not self-explanatory.
      placeholder: |
        1. In this environment...
        2. With this config...
        3. Run '...'
        4. See error...
  - type: textarea
    attributes:
      label: Additional Information
      description: Links? References? Anything that will give us more context about the issue that you are encountering!
  - type: textarea
    attributes:
      label: Logs
      description: Deckhouse application logs (if relevant).
      render: shell
